package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentDAO {
    void insertStudent(Student student);
    void insertAll(List<Student>studentList);

    void deleteStudent(Student student);
    void deleteById(String id);
    void modifyStudent(Student student);

    Student queryOneStudent(Student Student);
    Student queryOneStudentById(String id);
   List<Student> queryAll();
}
